<template>
	<view class="change">
		<view class="card">
			<view class="view">
				<view class="title">
					新手机号码
				</view>
				<view class="ipt">
					<input type="number" v-model="phone" placeholder="请输入" placeholder-class="place" maxlength="11">
					<view class="sms">
						获取验证码
					</view>
				</view>
			</view>
			<view class="view height">
				<text>验证码</text>
				<input type="number" v-model="code">
			</view>
		</view>
		<view class="btn" @click="submit">
			确认
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return {
				phone: '',
				code: ''
			}
		}
	}
</script>

<style lang="scss" scoped>
	.change{
		padding: 20rpx 30rpx;
			
		.card{
			padding: 20rpx 30rpx 0;
			background-color: white;
			border-radius: 28rpx;
			overflow: hidden;
			.view{
				border-bottom: 2rpx solid #F5F5F5;
			}
			.view:last-of-type{
				border-bottom: none;
			}
			.height{
				height: 110rpx;
				display: flex;
				align-items: center;
				text{
					color: #333333;
					font-size: 30rpx;
					margin-right: 20rpx;
				}
				input{
					font-size: 30rpx;
				}
			}
			.title{
				color: #333333;
				font-size: 30rpx;
			}
			.ipt{
				padding: 15rpx 0 27rpx;
				display: flex;
				align-items: center;
				input{
					flex: 1;
					font-size: 30rpx;
				}
				.sms{
					flex-shrink: 0;
					color: #1DD39B;
					font-size: 30rpx;
					padding: 0 16rpx;
				}
				.place{
					color: #CFCFCF;
					font-size: 30rpx;
				}
			}
		}
		.btn{
			height: 86rpx;
			border-radius: 20rpx;
			background-color: #1DD39B;
			display: flex;
			align-items: center;
			justify-content: center;
			color: white;
			font-size: 36rpx;
			font-weight: 500;
			margin-top: 100rpx;
		}
	}
</style>